<style scoped lang="scss">

</style>

<template>
  <div>
    <input v-model="vaL" type="number">

  </div>
</template>

<script>
export default {
  name: "Child5",
  props: {
    val : {
      type: Number,
    }
  },
  data() {
    return {
      vaL: this.defVal
    }
  },
  watch: {
    vaL(newVal) {
      this.$emit('input', this.vaL)
    }
  }
}
</script>
